import Vue from 'vue'

// 引入element-ui
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';

import App from './App'
// 引入后端接口
import api from './common/apiUtil.js'
// 引入上传数据方法
import request from './common/requset.js'

// 使用element-ui
// Vue.use(ElementUI);

Vue.config.productionTip = false
Vue.prototype.$api = api
Vue.prototype.$get = request.get
Vue.prototype.$post = request.post
Vue.prototype.$put = request.put
Vue.prototype.$delete = request.delete


App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()